package cn.net.shuxing.yifu.common.constant;

public enum PaymentStatus {
    UNPAID("0"),          //支付中
    PAID("1"),            //已支付
    PAY_FAIL("2"),        //支付失败
    ClOSED("3");          //已关闭

    private String name;

    PaymentStatus(String name) {
        if (name.equals("0"))
            this.name = "支付中";
        if (name.equals("1"))
            this.name = "已支付";
        if (name.equals("2"))
            this.name = "支付失败";
        if (name.equals("3"))
            this.name = "已关闭";
    }
}
